import requests

json_obj = {
    "userName": "陆挚译",
    "path": "E:\\PythonProject\\uploaded_pdfs\\20250402_180659_report.pdf"
}
url = 'http://localhost:8000/elkhisagent/report/upload'
#url = 'http://localhost:3000/api/report/upload'
# 发送 POST 请求
response = requests.post(url, json=json_obj)
# 输出响应
print("状态码:", response.status_code)
print("响应内容:", response.text)